import { useState } from 'react';

/* eslint-disable */
function App() {
    const [num, setNum] = useState(0);
    return (
        <div>
            <h2>{num}</h2>
            <button onClick={() => setNum(num + 1)}>+1</button>
        </div>
    );
}

export default App;
